package com.training.java.core.constructor;

public class Car {
	
	private String make;
	private String model;
	private String vinNumber;
	private String color;
	
	Car(String make, String model, String vinNumber, String color)
	{
		this.make = make;
		this.model = model;
		this.vinNumber = vinNumber;
		this.color = color;
		
	}
	Car(String make, String model, String vinNumber)
	{
		this.make = make;
		this.model = model;
		this.vinNumber =vinNumber;
	}
	String getMake(){
		return make;
	}
	
	String getModel(){
		return model;
	}
	
	String getVinNumber(){
		return vinNumber;
	}
	
	String getColor(){
		return color;
	}
	void setColor(String newColor)
	{
		color = newColor;
	}

}
